package com.bskj.common.bean.model;

import java.util.Date;

/**
 * Created by mocaijin on 26/12/2017.
 */
public class BmsUser extends BaseModels implements BaseModel {
	
	private Integer propId = 0;
    private Integer custId;
    private Integer shopId;
    private Integer type;
    private String entNo;
    private String password;
    private String appId;
    private String openId;
    private Integer operator; //操作人

    private int status = 0;
    
    private String name;

    private Integer id; // 主键
    private Date createTime; // 创建时间
    private Date updateTime; // 修改时间

    private ParkingLotCustomer parkingLotCustomer;
    private ParkingShop parkingShop;

    @Column
	public Integer getPropId() {
		return propId;
	}

	public void setPropId(Integer propId) {
		this.propId = propId;
	}

	public ParkingLotCustomer getParkingLotCustomer() {
        return parkingLotCustomer;
    }

    public void setParkingLotCustomer(ParkingLotCustomer parkingLotCustomer) {
        this.parkingLotCustomer = parkingLotCustomer;
    }

    public ParkingShop getParkingShop() {
        return parkingShop;
    }

    public void setParkingShop(ParkingShop parkingShop) {
        this.parkingShop = parkingShop;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @Column
    public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	@Column
	@Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }
    @Column
    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Column
    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Column
    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }
    @Column
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    @Column
    public String getEntNo() {
        return entNo;
    }

    public void setEntNo(String entNo) {
        this.entNo = entNo;
    }
    @Column
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    @Column
    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
    @Column
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
    @Column
	public Integer getOperator() {
		return operator;
	}

	public void setOperator(Integer operator) {
		this.operator = operator;
	}
	@Column
	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
}
